/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.view;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;

/**
 *
 * @author Blasius
 */

   public class PanelTambahPinjaman extends JPanel implements ActionListener{
private JLabel labelKodeAnggota, labelKodeKoleksi, judul, garis, labelText;
private JTextField textKodeAnggota, textKodeKoleksi;
private JButton tombolSimpan, tombolBatal;
public PanelTambahPinjaman(){
    this.setLayout(null); 
    this.setVisible(true);
    this.setSize(500,500);
  
  
        judul.setBounds(20,10,400,30); 
        garis.setBounds(17,25,400,30); 
    labelText = new JLabel("Data-data Anggota");
        
        labelText.setBounds(20,60,150,20);
    labelKodeKoleksi = new JLabel("-  Nama"); 
        labelKodeKoleksi.setBounds(30, 85, 70, 20);
        this.add(labelKodeKoleksi); 
        textKodeKoleksi = new JTextField(50); 
            textKodeKoleksi.setBounds(90,85,155,20); 
            this.add(textKodeKoleksi); 
    labelKodeAnggota = new JLabel("-  ID"); 
        labelKodeAnggota.setBounds(30, 110, 70, 20);
        this.add(labelKodeAnggota); 
        textKodeAnggota = new JTextField(50); 
            textKodeAnggota.setBounds(90,110,155,20); 
            this.add(textKodeAnggota); 
    tombolSimpan = new JButton("Simpan"); 
        tombolSimpan.setBounds(145, 140, 100, 30);
        this.add(tombolSimpan); 
}

@Override
    public void actionPerformed(ActionEvent e) {
        throw new UnsupportedOperationException("Not supported yet.");
    }
}

